how to hide header in react navigation

66

how to hide header in react navigation -

<Stack.Navigator
  screenOptions={{
    headerShown: false
  }}
>
  <Stack.Screen name="route-name" component={ScreenComponent} />
</Stack.Navigator>

How To Hide React Navigation Header in React Native -

<Stack.Screen options={{headerShown: false}} name="route-name" component={ScreenComponent} />

Comments

Submit
0 Comments